package com.dly.blog.service;

import com.dly.blog.domain.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dly.blog.domain.vo.permission.PermissionListVO;
import com.dly.blog.domain.vo.permission.PermissionVO;
import com.dly.blog.domain.ro.permission.PermissionPageRO;
import com.dly.blog.domain.ro.permission.PermissionAddRO;
import com.dly.blog.domain.ro.permission.PermissionEditRO;
import com.dly.blog.domain.vo.PageVO;

import java.util.List;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author DLY
 * @since 2024-11-13 15:16:31
 */
public interface PermissionService extends IService<Permission> {

    PageVO<PermissionVO> getPermissionPage(PermissionPageRO permissionPageRO);

    void addPermission(PermissionAddRO permissionAddRO);

    PermissionVO getPermission(String id);

    void removePermission(String[] ids);

    void editPermission(PermissionEditRO permissionEditRO);

    List<PermissionListVO> getPermissionList();
}
